package itqf.dao.impl;



import itqf.entity.Product;

import java.util.List;

/**
 * com.itqf.dao.impl
 * 2020/9/15
 */
public interface ProductDao {
    List<Product> showAllProduct();

    long findTotalProductByTypeId(int typeId);

    List<Product> findProductByTypeId(int startIndex, int pageSize, int typeId);

    Product findProductById(int id);

    List<Product> showGoodsType();

    void insert(String name);
}
